package com.mall.huohuo.openapi;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author zycoding
 * class_name: OpenApiBootstrap package: com.mall.huohuo.openapi describe: TODO
 **/
@SpringBootApplication(scanBasePackages = {"com.mall.huohuo"})
public class OpenApiBootstrap {
    private static Logger logger = LoggerFactory.getLogger(OpenApiBootstrap.class);
    public static void main(String[] args) {

        long startTime = System.currentTimeMillis();
        logger.info("start openapi{}", startTime);
        SpringApplication.run(OpenApiBootstrap.class);
        logger.info("already start{}秒",(System.currentTimeMillis() -startTime)/1000);
    }
}
